package com.qidian.qc.controller;

import com.qidian.mes.util.pojo.MESResult;
import com.qidian.qc.service.QcTemplateProductService;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

/**
 * @Author 53邹李萍
 * @Company 起点编程
 * @Time 2023/11/2 9:35
 * @Description
 */
@CrossOrigin
@RestController
@RequestMapping("/templateProduct")
public class QcTemplateProductController {
    @Autowired
    QcTemplateProductService qcTemplateProductService;
    @GetMapping("/list")
    public MESResult list(@RequestParam(defaultValue = "1")int page, @RequestParam(defaultValue = "10") int limit, String templateProduct1){
return qcTemplateProductService.list(page,limit,templateProduct1);
    }
}
